# $Id: PKGBUILD 65998 2012-02-22 14:16:07Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-xml-smart
pkgver=1.6.9
pkgrel=5
pkgdesc="Perl/CPAN Module XML::Smart"
arch=("any")
url="http://search.cpan.org/dist/XML-Smart"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/G/GM/GMPASSOS/XML-Smart-$pkgver.tar.gz")
md5sums=('648309c0d613ddaca6f6b16e9f13c81d')

build() {
  cd $srcdir/XML-Smart-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
